You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Dew.Math.Units Namespace > Classes > Probabilities Class > Probabilities Methods > BinomPDF Method > Probabilities.BinomPDF Method ([In] TMtxVecInt, int, double, [In] TDenseMtxVec)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Probabilities.BinomPDF Method ([In] TMtxVecInt, int, double, [In] TDenseMtxVec)

Binomial PDF (vectorized).

Syntax
C#
Visual Basic
public static void BinomPDF([In] TMtxVecInt X, int n, double P, [In] TDenseMtxVec Res);
Parameters 
Description 
[In] TMtxVecInt X 
Defines distribution domain, real vector or matrix with integer values on closec interval [0,n]. 
int n 
Defines number of trials. n must be a positive integer. 
double P 
Defines success probability. p must lie on the [0,1] closed interval. 
[In] TDenseMtxVec Res 
After calculation stores the PDF calculated using X, n and p. Length and Complex properties of Res are adjusted automatically to match Length and Complex properties of X. 
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!